<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>登录</title>
	<meta name="keywords" content="翻倍花，O2O，第三方推广，服务平台">
    <meta name="description" content="翻贝花致力于打造国内最具公信力的第三方推广和服务平台">
    <link rel="stylesheet" href="{{env('CSS_DOMAIN')}}/css/console.css?v={{env('CSS_VERSION')}}">
    <style>
		#bg_pic{position: absolute;top: 0;left: 0;width: 100%;}
		.login_outer{background: url({{env('IMAGE_DOMAIN')}}images/input_bg.png) 0 0 no-repeat;position: absolute;width: 570px;height: 450px;top: 50%;left: 50%;margin-top: -225px;margin-left: -320px;padding-left: 70px;}
		.login_top{margin-top: 120px;}
		.login_top .forget{margin-left: 168px;cursor: pointer;}
		#login_con .login_user{width: 476px;height: 46px;border: 2px solid #a4a4a4;border-radius: 10px;font-size: 18px;color: #a4a4a4;padding-left: 20px;margin-top: 40px;}
		#login_con .login_password{width: 476px;height: 46px;border: 2px solid #a4a4a4;border-radius: 10px;font-size: 18px;color: #a4a4a4;padding-left: 20px;margin-top: 30px;}
		#login_con .login_check{overflow: hidden;width: 500px;margin-top: 30px;height: 50px;line-height: 50px;}
		#login_con .login_check .login_checkbox{float: left;width: 16px;height: 16px;border: 2px solid #cccccc;border-radius: 5px;margin-right: 20px;margin-top: 16px;}
		#login_con .login_check .login_btn{float: right;width: 140px;height: 50px;border-radius: 5px;background-color: #a86ad0;color: #fff;font-size: 18px;}
    </style>
</head>
<body>
	<img id="bg_pic" src="{{env('IMAGE_DOMAIN')}}images/login_bg.png" alt="">
	<div class="login_outer">
		<div class="login_top">
			<span class="fz_28 co_gray56" style="font-weight: bold;">国家能源中心（江西）</span>
			<a class="co_gray81" href="/password/forget">忘记密码？</a>
		</div>
		<form method="post" action="/login/submit" id="login_con">
			<input class="login_user" type="text" name="phone" value="" placeholder="请输入手机号"><br>
			<input class="login_password" type="password" name="password" value="" placeholder="请输入密码">
			<div class="login_check">
				<span class="login_checkbox"></span>
				<span class="fl fz_18 co_gray81">记住账号</span>
				<input class="login_btn" type="submit" name="submit" value="登录">
			</div>
			@if(isset($message))
			    <div><span class="fl fz_18 co_red">{{$message}}</span></div>
			@endif
		</form>
	</div>
	<script src="{{env('JS_DOMAIN')}}/js/jquery-1.11.1.min.js?v={{env('JS_VERSION')}}"></script>
	<script>
		$(function() {
			var onoff=false;
			var wh=$(window).height();
			window.onresize=function (){
				wh=$(window).height();
				$('#bg_pic').height(wh);
			}
			$('#bg_pic').height(wh);
			$(".login_checkbox").click(function(){
				if(onoff){
					$(".login_checkbox").css("background","none");
					onoff=false;
				}else{
					$(".login_checkbox").css({"background":"url({{env('IMAGE_DOMAIN')}}/images/console/close.png) 0 0 no-repeat","background-size":"16px"});
					onoff=true;
				}
			})
		})
	</script>
</body>
</html>